package cn.edu.scau.dormitory_management_system.service;

import cn.edu.scau.dormitory_management_system.entity.RegisterEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author wanglingfu
 * @email 1006340605@qq.com
 * @date 2021-08-02 14:35:10
 */
public interface RegisterService extends IService<RegisterEntity> {
    boolean insertRegister(RegisterEntity registerEntity);

    boolean deleteRegister(RegisterEntity registerEntity);

    boolean updateRegister(RegisterEntity registerEntity);

    List<RegisterEntity> findRegisterByTel(String tel);

    List<RegisterEntity> findRegisterByType(String type);

    List<RegisterEntity> findRegisterByReason(String reason);

    List<RegisterEntity> findRegisterBetweenTime(Date dateAfter, Date dateBefore);
}

